package com.sptpc.drink.service;

import com.sptpc.drink.pojo.Category;

import java.util.List;

public interface CategoryService {
    Category queryById(Long id);
    //模糊查询
    List<Category> queryByName(String name);

    List<Category> queryAll();

    void insert(Category category);

    void delete(Long id);

    void update(Category category);


}
